QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Tone Fit Flags

These flags are returned by the MusicFindTone function MusicFindTone to indicate how well an instrument matches the tone description.

enum {
    kInstrumentMatchSynthesizerType     = 1,
    kInstrumentMatchSynthesizerName     = 2,
    kInstrumentMatchName                = 4,
    kInstrumentMatchNumber              = 8,
    kInstrumentMatchGMNumber            = 16
};

Constant descriptions

kInstrumentMatchSynthesizerType
The requested synthesizer type was found.
kInstrumentMatchSynthesizerName
The particular instance of the synthesizer requested was found.
kInstrumentMatchName
The instrument name in the tone description matched an appropriate instrument on the synthesizer.
kInstrumentMatchNumber
The instrument number in the tone description matched an appropriate instrument on the synthesizer.
kInstrumentMatchGMNumber
The General MIDI equivalent was used to find an appropriate instrument on the synthesizer.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next